/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mavenrentcars.service;

import com.mavenrentcars.exception.ViewException;
import com.mavenrentcars.model.Car;
import com.mavenrentcars.model.Rating;
import com.mavenrentcars.model.User;

/**
 *
 * @author student
 */
public interface RatingService extends GenericService<Rating, Integer> {

    public boolean isVote(Car car, User user);

    public Rating set(Car car, User user, int val) throws ViewException;
}
